# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Muges <git@muges.fr>
# Contributor: Alexis "Horgix" Chotad <alexis.horgix.chotard@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Jonas Heinrich <onny@project-insanity.org>
# Contributor: Markus Golser <elmargol@googlemail.com>

_pkgname=mygpoclient
pkgname=python-mygpoclient
pkgver=1.9
pkgrel=2
pkgdesc='Python client Library for the gpodder.net web service'
arch=('any')
url='https://github.com/gpodder/mygpoclient'
license=('GPL3')
depends=('python')
source=("https://github.com/gpodder/$_pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('c1e990a6395acd5a5316be1cd9237c2669b9f6389d49f5740595c02049b95496')

build() {
  cd $_pkgname-$pkgver
  python setup.py build
}

package() {
  cd $_pkgname-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
